package com.fresh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Wx
 * @Date:2023/08/10/14:10
 * @Description:
 */
@Data
public class Orders {
    private Integer id;
    /**订单编号*/
    private String no;
    /**客户id*/
    @TableField(value = "clientId")
    private Integer clientId;
    /**下单时间*/
    @TableField(value = "orderTime")
    private LocalDateTime orderTime;
    /**详细地址*/
    private String address;
    /**总金额*/
    @TableField(value = "totalMoney")
    private BigDecimal totalMoney;
    /**订单状态*/
    private String status;
    /**付款时间*/
    @TableField(value = "payTime")
    private LocalDateTime payTime;
    /**退货时间*/
    @TableField(value = "receiveTime")
    private LocalDateTime receiveTime;
    /**完成时间*/
    @TableField(value = "finishTime")
    private LocalDateTime finishTime;
    /**更新时间*/
    @TableField(value = "updateTime")
    private LocalDateTime updateTime;
}
